package cn.stylefeng.guns.modular.business.frequency.cmcompany.model.result;

import cn.stylefeng.guns.modular.business.frequency.cmcompanyline.entity.CmCompanyLine;
import cn.stylefeng.guns.modular.business.frequency.cmlinkman.entity.CmLinkman;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description:
 * @Author jzy
 * @Date 2021/7/8 0008
 **/
@Data
public class CompanyVO {

    private Long id;

    private String name;
    private String contract;

    @NotNull(message = "用户类型不能为空")
    private Integer type;

    @NotNull(message = "请选择是否月结")
    private Integer nature;
    private List<CmLinkman> linkmanList;
    private List<CmCompanyLine> lineList;
}
